package com.tbit.uqbike.service.base.impl;


import com.tbit.uqbike.object.pojo.LoginLog;
import com.tbit.uqbike.object.pojo.vo.LoginLogVO;
import com.tbit.uqbike.service.base.LoginLogService;
import com.tbit.uqbike.webmanager.dao.log.LoginLogDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class LoginLogServiceImpl implements LoginLogService {

    @Autowired
    private LoginLogDao loginLogDao;

    @Override
    public void insert(LoginLog loginLog) {
        loginLogDao.insert(loginLog);
    }

    @Override
    public List<LoginLogVO> selectLoginLogList(Map<String, Object> logLogMap) {
        return loginLogDao.selectLoginLogList(logLogMap);
    }
}